var homepageModule = (function () {
    return {
    	
        /**
         * 查询首页  轮播图
         * @param {Object} param
         * @param {Object} callBack
         */
        findSliderList: function (param, callBack) {
            utilModule.get({
                url: "banner/findBanner",
                data: param,
                needJson: false, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        },
        /**
         * 查询首页文章
         * @param {Object} param
         * @param {Object} callBack
         */
        findIndexArticleList: function (param, callBack) {
            utilModule.get({
               // url: "article/articleIndex",
                url:"article/findArticle",
                data: param,
                needJson: false, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        },
        /**
         * 查询首页  对症问医 
         * @param {Object} param
         * @param {Object} callBack
         */
        findDoctorDiseaseList: function (param, callBack) {
            utilModule.post({
                url: "doctor/findDoctorIndex",
                data: param,
                needJson: false, 
                async: false,
                success: function (response) {
                    callBack(response);
                }
            });
        },
  }
})();